<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class OrderAuditLog extends BaseModel
{
    use HasFactory;
    //订单审核记录

    protected $table = 'order_audit_log';
    // 允许批量操作的字段
    protected $fillable = [

        'order_id',
        'user_id',
        'user_name',
        'role_id',
        'role_name',
        'order_audit_name',
        'audit_name',
        'order_audit_id',
        'res',
        'remark',
        'status',
        'created_at',
        'updated_at'

    ];

    public function scopeSearch($query,$params)
    {
        return $query;
    }



}
